<%@ page contentType="text/html; charset=utf-8" language="java"
	import="java.sql.*" errorPage=""%>

<%@ taglib prefix="s" uri="/struts-tags"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
	<head>
    	<link rel="stylesheet" type="text/css" media="all" href="<s:url value='/css/main.css'/>" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Aplicação</title>
		<style type="text/css">
<!--
.style1 {
	font-size: 14px
}

.style3 {
	font-size: 18px
}
-->
</style>
</head>
<body>
<div id="tudo">
<div id="conteudo">
<s:form action="TrabalhoPostado!execute.do" method="POST" enctype="multipart/form-data">
<div align="center"><h1>Trabalho Postado</h1></div>
<table width="459" border="0" align="center" cellpadding="0" cellspacing="4">
    <tr>
	   <td colspan="2">
	         <s:actionerror />
	         <s:actionmessage/>
	         <s:fielderror />
	   </td> 
   </tr>	
	<tr>
		<td><s:textfield name="nomeAluno" size="40" maxlength="100"
			label="Autor" disabled="true"></s:textfield> <s:hidden name="idAluno"></s:hidden>
		</td>
	</tr>
	<tr>
		<td><s:select name="idTarefa" label="Tarefa"
			headerValue="--- Tarefa ---" headerKey="0" list="tarefas"
			listKey="id" listValue="nomeTarefa" /></td>
	</tr>

	<tr>
		<s:file name="upload" label="Postar Arquivo" />
		
		<s:select name="idPostado"  list="postados" listKey="id" listValue="nomeArquivo" size="10" label="Trabalhos Postados">
			</s:select> 
	</tr>
	<tr><td><p>&nbsp;</p></td></tr>
	<tr>
		<td colspan="5" rowspan="2" valign="bottom" align="center"> 
			<input type="submit" id="adicionar" name="adicionar" value="Adicionar">
			<input type="submit" id="consultar" name="consultar" value="Consultar">
			<input type="submit" id="editar" name="editar" value="   Editar  ">
			<input type="submit" id="remover" name="remover" value=" Remover">
			<input type="submit" id="menu" name="menu" value=" Menu ">
		</td>
	</tr>	
</table>
<p>&nbsp;</p>
</s:form>
</div>
</div>
</body>
</html>
